The ``Configuration'' menu

  ARCGSH   File    Configuration    Utilities   Options   
       Locate Arc ...        
       Locate LHarc ...        
       Locate Shar ...        
       Locate Tar ...        
       Locate Zoo ...        
       Locate Compress ...        
       Locate Uud ...        
       Locate Uue ...        
       Configure pager ...        
       Configure editor ...        
       Save configuration        

Before Arcgsh is able to execute a dependent programs, e. g. an archiver, it must know where this program resides on disk. You can tell Arcgsh the locations of the various programs with the ``Configuration'' menu.

Let us suppose you want to locate the zoo archiver. First you have to select the ``Locate Zoo ...'' menu item. The GEM file selector box together with the prompt ``Locate program ZOO.TTP'' will be shown2. Now you can navigate the file selector to the directory where ZOO.TTP resides, select ZOO.TTP and click at \framebox{\sf OK}. From now on Arcgsh knows where it can find ZOO.TTP.

The menu items ``Configure pager ...'' and ``Configure editor ...'' let you choose a program you want to use to look into files resp. to edit files.

Example: You want to configure 1st Word Plus (filename WORDPLUS.PRG) as your editor. When you select ``Configure editor ...'' a dialog box will appear and — if you do not have selected an editor yet — immediately afterwards the GEM file selector with the prompt ``Locate user-defined editor'' pops up. The first line of the file selector shows you that only files called EDITOR.PRG will be displayed. As this is inappropriate to select WORDPLUS.PRG you have to change EDITOR.PRG to WORDPLUS.PRG (or to *.* in order to display every file). The file selector now shows all files named WORDPLUS.PRG, you can navigate it through your file system and select WORDPLUS.PRG as described above for ZOO.TTP.

After you have selected the editor you can still modify the command Arcgsh uses to call the editor. By default the editor will be called with one parameter: the name of the file to be edited. This filename is represented by %f in the ``Parameters ...'' text edit field. Say you want to give the additional options -l and -w to the editor. You have to change the text edit field to -l -w %f then.

Of course you would not like to locate every program once again every time you start Arcgsh. The program locations can be saved on disk with the ``Save configuration'' menu item. Arcgsh creates the file ARCGSH.CFG in the same directory as ARCGSH.PRG and writes all neccessary information into it.